package com.linkzd.app.model;

import lombok.Data;

import java.util.List;

/**
 * @author: Wangym
 * @Date: 2024/5/23 16:44
 * @Description:
 */
public class DeviceResult {
    private String temperature; //温度值

    private String humidness;   //湿度值

    private List<DeviceModel> electionFan;  //10电风扇

    private List<DeviceModel> ledLight; //11LED灯

    public DeviceResult() {
    }

    public DeviceResult(String temperature, String humidness, List<DeviceModel> electionFan, List<DeviceModel> ledLight) {
        this.temperature = temperature;
        this.humidness = humidness;
        this.electionFan = electionFan;
        this.ledLight = ledLight;
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getHumidness() {
        return humidness;
    }

    public void setHumidness(String humidness) {
        this.humidness = humidness;
    }

    public List<DeviceModel> getElectionFan() {
        return electionFan;
    }

    public void setElectionFan(List<DeviceModel> electionFan) {
        this.electionFan = electionFan;
    }

    public List<DeviceModel> getLedLight() {
        return ledLight;
    }

    public void setLedLight(List<DeviceModel> ledLight) {
        this.ledLight = ledLight;
    }

    @Override
    public String toString() {
        return "DeviceResult{" +
                "temperature='" + temperature + '\'' +
                ", humidness='" + humidness + '\'' +
                ", electionFan=" + electionFan +
                ", ledLight=" + ledLight +
                '}';
    }
}
